package com.ruoyi.dl.mapper;

import java.util.List;

import com.ruoyi.dl.domain.DlOrders;

/**
 * 订单Mapper接口
 *
 * @author ruoyi
 * @date 2020-12-28
 */
public interface DlOrdersMapper {
    /**
     * 查询订单
     *
     * @param id 订单ID
     * @return 订单
     */
    public DlOrders selectDlOrdersById(Integer id);

    /**
     * 查询订单列表
     *
     * @param dlOrders 订单
     * @return 订单集合
     */
    public List<DlOrders> selectDlOrdersList(DlOrders dlOrders);

    /**
     * 按照订单编号查询订单
     *
     * @param dlOrders 订单
     * @return 订单集合
     */
    public DlOrders selectDlOrdersByOrdersNumber(DlOrders dlOrders);

    /**
     * 查询订单列表
     *
     * @param dlOrders 订单
     * @return 订单集合
     */
    public List<DlOrders> newSelectDlOrdersList(DlOrders dlOrders);

    /**
     * 新增订单
     *
     * @param dlOrders 订单
     * @return 结果
     */
    public int insertDlOrders(DlOrders dlOrders);

    /**
     * 修改订单
     *
     * @param dlOrders 订单
     * @return 结果
     */
    public int updateDlOrders(DlOrders dlOrders);

    /**
     * 删除订单
     *
     * @param id 订单ID
     * @return 结果
     */
    public int deleteDlOrdersById(Integer id);

    /**
     * 批量删除订单
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDlOrdersByIds(String[] ids);
}
